<template>
	<qh-tabbar-page-view type="2" current="2" title="购物车" :tabbarShadow="false">
		<store-shopping-car ref="carRef"></store-shopping-car>
	</qh-tabbar-page-view>
</template>

<script>
	var app = getApp().globalData;
	export default {
		onLoad(options) {
			this.$nextTick(() => {
				this.$refs.carRef.onLoads(options);
			})
		},
		async onShow() {
			this.$nextTick(() => {
				this.$refs.carRef.onShows();
			})
		},
		onShareAppMessage() {
			return {
				title: '购物车',
				path: '/pages/shoppingCar/shoppingCar?store_id=' + this.$store.store_id + '&share_uid=' + app.XcxData.userInfo.uid,
			};
		},
	};
</script>
